package com.data.modules.sm.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.data.modules.sm.entity.SmMediumScreen;
import com.data.modules.sm.mapper.SmMediumScreenMapper;
import com.data.modules.sm.service.ISmMediumScreenService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @Description: sm_medium_screen
 * @Author: data-boot
 * @Date:   2022-11-12
 * @Version: V1.0
 */
@Service
public class SmMediumScreenServiceImpl extends ServiceImpl<SmMediumScreenMapper, SmMediumScreen> implements ISmMediumScreenService {

    @Autowired
    private SmMediumScreenMapper mapper;
    /**
     * 查询终端使用情况信息
     * @param province
     * @return
     */
    @Override
    public Map getMedScreenInfo(String province) {

        Map map = mapper.getMedScreenInfo(province);

        return map;
    }
}
